//---------------------------------------------------------------------------

#ifndef FormZakupH
#define FormZakupH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <AppEvnts.hpp>
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <DB.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <IBCustomDataSet.hpp>
#include <IBQuery.hpp>
#include "class_TabCtrl.h"
//---------------------------------------------------------------------------
class TFZakup : public TForm
{
__published:	// IDE-managed Components
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label3;
        TDBGrid *DBGrid1;
        TBitBtn *BitBtn1;
        TBitBtn *BitBtn2;
        TComboBox *ComboBox1;
        TDateTimePicker *DT;
        TEdit *Edit1;
        TBitBtn *BitBtn3;
        TBitBtn *BitBtn4;
        TDataSource *DataSource1;
        TIBQuery *IBQuery1;
        TApplicationEvents *ApplicationEvents1;
        TIBQuery *Ask;
        TIntegerField *IBQuery1IDZCAT;
        TIBStringField *IBQuery1NAME;
        TIntegerField *IBQuery1IDZCOME;
        TDateField *IBQuery1ZDATE;
        TIntegerField *IBQuery1PRICE;
        TBitBtn *BitBtn5;
        void __fastcall ApplicationEvents1Message(tagMSG &Msg,
          bool &Handled);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
        void __fastcall IBQuery1AfterScroll(TDataSet *DataSet);
        void __fastcall DTKeyPress(TObject *Sender, char &Key);
        void __fastcall ComboBox1KeyPress(TObject *Sender, char &Key);
        void __fastcall Edit1KeyPress(TObject *Sender, char &Key);
        void __fastcall BitBtn3Click(TObject *Sender);
        void __fastcall BitBtn4Click(TObject *Sender);
        void __fastcall BitBtn2Click(TObject *Sender);
        void __fastcall FormMouseWheel(TObject *Sender, TShiftState Shift,
          int WheelDelta, TPoint &MousePos, bool &Handled);
        void __fastcall BitBtn5Click(TObject *Sender);
private:	// User declarations
        TTabCtrl *Disp;
public:		// User declarations
        __fastcall TFZakup(TComponent* Owner);
        void __fastcall ReloadCats();
};
//---------------------------------------------------------------------------
extern PACKAGE TFZakup *FZakup;
//---------------------------------------------------------------------------
#endif
